package com.ihr360.payroll.model.vo;

import com.ihr360.payroll.model.dto.attendance.rule.sickleave.DeductionByType;
import com.ihr360.payroll.model.dto.attendance.rule.sickleave.SickLeaveRule;
import com.ihr360.payroll.model.dto.salary.meta.SalaryField;
import com.ihr360.payroll.type.BasementType;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
public class SickLeaveRuleVo implements Serializable {
    private static final long serialVersionUID = -7007055063988168768L;

    private Long id;

    private BasementType basementType;

    private Double fixedBase;

    private Double baseRatio;

    private Double numOpRatio;

    private String remark;

    private Boolean advancedDeductionEnable;

    private DeductionByType deductionBy;

    private SickLeaveRule.DeductConfigWrapper deductConfig;

    private List<SalaryField> referenceFields;

    private boolean enableSubsectionPaid;

}
